package com.vic.test.thread;

public class SequenceA implements Sequence{
	
	public static int number = 0;

	public int getNumber() {
		number = number + 1;
		return number;
	}

	public static void main(String[] args) {
		Sequence s = new SequenceA();
		ClientThread c1 = new ClientThread(s);
		ClientThread c2 = new ClientThread(s);
		ClientThread c3 = new ClientThread(s);
		c1.start();
		c2.start();
		c3.start();
	}
}